package com.piccolo.wrapper.client.component.Overlay;

import com.piccolo.wrapper.client.component.PNode;
import com.piccolo.wrapper.client.component.JSNI.PEdgeJSNI;

public class PEdgeOverlay extends PNodeOverlay 
{
	private static PEdgeJSNI impl = new PEdgeJSNI(); 
	protected PEdgeOverlay(){}
	public static PEdgeOverlay create(PNode node1, PNode node2) { return impl.create(node1.getOverlay(), node2.getOverlay()); }
	public static PEdgeOverlay create(PNode node1, PNode node2, int lineWidth) { return impl.create(node1.getOverlay(), node2.getOverlay(), lineWidth); }
	public final void setLineWidth(int width) { impl.setLineWidth(this, width); }
}
